{php $top_name=$ctitle;}{template "header.html"}

<div class="page-container">
    <div class="page-content-wrapper">
        <div class="page-content bg-b">
            <div class="bg-h">
                <div class="head-title">
                    <div class="news-title">
                        {$name}
                    </div>
                    <div class="news-title-btn">
                        <div class="left"><span class="source">{$author}</span><span class="r_time">{$updatetime}</span></div>
                        <div class="right"><span class="num2">{dr_extend_hits($id)}</span>阅读<span class="line"></span><span class="num2">{$comments}</span>评论</div>
                    </div>
                </div>
            </div>

            <div class="container bg-h">
                <div class="news-table margin-top-10">
                    <div class="title"><span>阅读内容</span></div>
                    <div class="content">
                        <div class="news-content" style="max-height:initial;">
                            {$body}
                        </div>

                    </div>
                </div>
            </div>

            <div class="container bg-h">
                <div class="news-table margin-top-20">
                    <div class="title"><span>书籍目录</span></div>
                    <ul class="book-ml-list">
                        {extend cid=$cid order=displayorder,id_asc}
                        <li class="{if $id==$t.id}on{/if}">
                            <a href="{$t.url}">{$t.name}</a>
                            <span>{$t.inputtime}</span>
                        </li>
                        {/extend}
                    </ul>
                </div>
            </div>

            <div class="container bg-h">
                <div class=" news-table" id="comment-post-div">
                    <div class="title"><span>本章评论</span></div>
                    <div class="nr">
                        {dr_extend_comment(MOD_DIR, $id)}
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<div class="footFixed" id="foot_btn_fixed">
    <div class="reply_hd clearfix display1" id="reply_hd">
        <ul>
            <li><a href="{MODULE_URL}" class="share">回首页</a></li>
            <li><span class="num comment-post-div">{$comments}</span></li>
            <li onclick="dr_module_favorite('{MOD_DIR}', '{$cid}', '{$id}');"><span class="zan" id="favorite">收藏</span></li>
            <li><a href="javascript:;" id="openReply" class="btn comment-post-div"><i class="fa fa-edit"></i> 写评论</a></li>
        </ul>
    </div>
</div>
{template "footer.html", "/"}